<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>边框</title>
    <style>
        div.div1{
            width: 100px;
            height: 100px;
            border: 5px solid red;
        }

        div.div2{

            width: 100px;
            height: 100px;
            border-style: solid;
            border-color: red;
            border-width: 5px;;

        }
    </style>
</head>
<body>

<h2>设置边框样式</h2>
<hr>
<p class="p1" style="border-style: none">none边框</p>
<p class="p2" style="border-style: dotted">dotted边框</p>
<p class="p3" style="border-style: dashed">dashed边框</p>
<p class="p4" style="border-style: solid">solid边框</p>
<p class="p5" style="border-style: double">double边框</p>
<p class="p6" style="border-style: groove">groove边框</p>
<p class="p7" style="border-style: ridge">ridge边框</p>
<p class="p8" style="border-style: inset">inset边框</p>
<p class="p9" style="border-style: outset">outset边框</p>
<p class="p10" style="border-style: hidden">hidden边框</p>

<h2>设置边框简写</h2>
<hr>
<div class="div1">呵呵呵</div>
<hr>
<div class="div2">呵呵呵</div>




</body>
</html>